This changest allows grant mappings to arbitrary PTEs.
authorakw27@arcadians.cl.cam.ac.uk <akw27@arcadians.cl.cam.ac.uk>
Fri, 12 Aug 2005 17:52:47 +0000 (17:52 +0000)
committerakw27@arcadians.cl.cam.ac.uk <akw27@arcadians.cl.cam.ac.uk>
Fri, 12 Aug 2005 17:52:47 +0000 (17:52 +0000)
commitf24303ce78b18f84088051fabf408d65f53cd718
treedfd20d84d5a6309c7139fec1d717e2468ad7a6ad
parent30ed144f39cb7c8bacdcd7cdac47f6c9b4929214
parent37086f1a52400032c457d4a38cbd6eb957c6e2b9
This changest allows grant mappings to arbitrary PTEs.

The map operation now takes PTE addresses as well as virtual
addresses.  The contains_pte flag is used to indicate what sort of
address is in the map request.

Additionally, this patch:

  - fixes grant mappings to user space.
  - fixes overflow testing when you run out of maptrack entry space.

Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
Signed-off-by: Leoffrey Lefebvre <geoffrey.g.lefebvre@intel.com>
xen/arch/x86/mm.c
xen/common/grant_table.c
xen/include/asm-x86/mm.h
xen/include/public/grant_table.h
xen/include/xen/grant_table.h